package cn.kgm.service.impl;

import cn.kgm.entity.MyBatis;
import cn.kgm.mapper.MyBatisMapper;
import cn.kgm.service.MyBatisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Version 1.8
 * @Author: Kappi
 * @Date: 2023-6-28 14:32
 * @Description: cn.kgm.service.impl.MyBatisServiceImpl
 */
@Service
public class MyBatisServiceImpl implements MyBatisService {

    @Autowired
    private MyBatisMapper myBatisMapper;

    @Override
    public MyBatis getOne(Long id) {
        return myBatisMapper.getOne(id);
    }
}
